import random

total = 0
for j in range(100):
    good = 0
    choicelist = ['car', 'goat1', 'goat2']
    for i in range (9999):
        choice = choicelist[random.randint(0, 2)]
        if choice != 'car':
            good +=1
    print good / 100.00
    total += good/100.00
print 'Average:', total / 100.00
